View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001553 | K18X001.00 SKB SWAN | SW | public | 2022-11-09 17:05 | 2022-11-10 08:54 |
| Reporter | (ALTech) Sangmin Choi | Assigned To | (ALTech) Sangmin Choi | Due Date | 2022-11-11 18:04 |
| Priority | normal | Severity | s4-minor | Reproducibility | N/A |
| Status | closed | Resolution | fixed | ||
| Summary | 0001553: Please apply this patch from BPM-10771. | ||||
| Description | Please apply this patch from BPM-10771. | ||||
| Additional Information | https://jira.skbroadband.com/browse/BPM-10771 | ||||
| Tags | No tags attached. | ||||
| Attach Tags | |||||
|
|
AI2-SKBSBLT195.patch (1,627 bytes)
diff --git a/amp/src/service/display/src/disp_prv.c b/amp/src/service/display/src/disp_prv.c
index b75deb4..6ed2108 100755
--- a/amp/src/service/display/src/disp_prv.c
+++ b/amp/src/service/display/src/disp_prv.c
@@ -1825,24 +1825,22 @@ void check_scale_ratio(VPP_WIN *pWinSrc, VPP_WIN *pWinDst)
#if SKB_AISTB2_ASPECT_RATIO_WAR
extern int ratio_mode; //0 : Full ratio , 1: Original ratio.
//float g_virtual_output_ratio = (16.0f/9.0f) ; //default to 16:9
-float video_par = 0;
void adjust_aspectRatio(DISP_PLANE *pPlane, VPP_WIN *pWinSrc, VPP_WIN *pWinDst, BOOL bIsBuildInFrame, VDEC_VID_BUF_DESC *pVbufDesc)
{
- if(ratio_mode && bIsBuildInFrame==false)// && (pPlane->uiPlaneID==1 || pPlane->uiPlaneID==0)) // If ratio mode is Original ratio
+ if(pPlane == NULL)
{
+ DISP_INFO("pPlane == NULL !!!");
+ return ;
+ }
- if(pPlane == NULL)
- {
- DISP_INFO("pPlane == NULL !!!");
- return ;
- }
-
- DISP_INFO("func:%s , line:%d", __func__, __LINE__);
- if((pPlane->uiPlaneID != AMP_DISP_PLANE_MAIN) && (pPlane->uiPlaneID != AMP_DISP_PLANE_PIP))
- return ;
+ if(ratio_mode && bIsBuildInFrame==false && pPlane->uiPlaneID == AMP_DISP_PLANE_MAIN) // If ratio mode is Original ratio
+ {
if (pWinSrc->height == 0 || pWinDst->height == 0)
+ {
+ DISP_INFO("height is null: pWinSrc->height = %d, pWinDst->height = %d", pWinSrc->height, pWinDst->height);
return;
-
+ }
+
float SourceRatio = (float)pWinSrc->width / (float)pWinSrc->height;
float video_par_signal = 0.0f;
if(pVbufDesc != NULL){
|
|
|
Hi Sangmin, Could you give us commit message ? |
|
|
Hi, Jason, Please use below messages. [BPM-10771] Change point: AFD will work just only main plane not pip plane. https://synacsm.atlassian.net/servicedesk/customer/portal/173/CSMSKBSBLT-195 Thank you. |
|
|
Hi Sangmin, Done 2022-11-10 08:23:15 | jason.tf.ling@fii-.. | fb65547 | syna-release/ampsdk | [BPM-10771] Change point: AFD will work just only main p |
|
|
Hi, Jason, Thank you! |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2022-11-09 17:05 | (ALTech) Sangmin Choi | New Issue | |
| 2022-11-09 17:05 | (ALTech) Sangmin Choi | Status | new => assigned |
| 2022-11-09 17:05 | (ALTech) Sangmin Choi | Assigned To | => (SW) Jason Ling |
| 2022-11-09 17:05 | (ALTech) Sangmin Choi | File Added: AI2-SKBSBLT195.patch | |
| 2022-11-09 17:23 |
|
Note Added: 0011190 | |
| 2022-11-10 07:56 | (ALTech) Sangmin Choi | Note Added: 0011191 | |
| 2022-11-10 07:57 | (ALTech) Sangmin Choi | Note Edited: 0011191 | |
| 2022-11-10 08:25 |
|
Assigned To | (SW) Jason Ling => (ALTech) Sangmin Choi |
| 2022-11-10 08:25 |
|
Status | assigned => resolved |
| 2022-11-10 08:25 |
|
Resolution | open => fixed |
| 2022-11-10 08:25 |
|
Note Added: 0011192 | |
| 2022-11-10 08:53 | (ALTech) Sangmin Choi | Note Added: 0011193 | |
| 2022-11-10 08:54 | (ALTech) Sangmin Choi | Status | resolved => closed |